package com.qf.utils;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class SqlUtils {
    private static Properties properties = new Properties();
    static {
        InputStream resourceAsStream = SqlUtils.class.getResourceAsStream("/sql.properties");
        try {
            properties.load(resourceAsStream);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public static String getSql(String key){
        return properties.getProperty(key);
    }
}
